{extend name="base_mobile" /}
{block name="body"}
<header class="hui-header">
    <div id="hui-back"></div>
    <h1>操作日志</h1>
    <div id="hui-header-menu" onclick="hui.showSlideMenu();"></div>
</header>
<div class="hui-wrap">
    <div style="padding-top:5px;">
        <a href="{:url('user/index/truncate')}" class="hui-button hui-fl hui-danger ajax-delete" style="width:100%"><i class="fa fa-plus-square-o"></i> 清空日志</a>
    </div>
    <div class="hui-list" style="margin-top:18px;">
        {foreach name="list" item="v" empty="$empty"}
        <a href="#">
            <div class="hui-list-icons" style="font-size:12px;">
                <img src="/static/hui/img/index/account.png" />
            </div>
            <div class="hui-list-text" style="font-weight: bold;">
                {$v.username}
                <div class="hui-list-info">
                    {$v.type}
                    <span class="hui-icons hui-icons-right"></span>
                </div>
            </div>
        </a>
        <a href="#">
            <div style="font-size:13px;color:#898989;padding-left:20px;padding-top:5px;line-height: 22px;">
                {$v.url}
                <br>{$v.remark}
            </div>
        </a>
        {/foreach}
    </div>
    <div class="page" style="margin-bottom: 70px;">{$list->mobile_render()}</div>
</div>
{/block}
